package ManHinhChinh;

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.SWT;
import org.eclipse.wb.swt.SWTResourceManager;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.DateTime;
import org.eclipse.swt.widgets.Button;

public class PhieuChiTien {

	protected Shell shlPhiuChiTin;
	private Text text;
	private Text text_1;
	private Text text_2;
	private Text text_3;
	private Text text_4;

	

	/**
	 * Open the window.
	 */
	public void open() {
		Display display = Display.getDefault();
		createContents();
		shlPhiuChiTin.open();
		shlPhiuChiTin.layout();
		while (!shlPhiuChiTin.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
	}

	/**
	 * Create contents of the window.
	 * @wbp.parser.entryPoint
	 */
	protected void createContents() {
		shlPhiuChiTin = new Shell();
		shlPhiuChiTin.setSize(450, 334);
		shlPhiuChiTin.setText("Phi\u1EBFu Chi Ti\u1EC1n");
		
		Label lblNewLabel = new Label(shlPhiuChiTin, SWT.NONE);
		lblNewLabel.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblNewLabel.setBounds(29, 26, 112, 21);
		lblNewLabel.setText("Nh\u00E0 Cung C\u1EA5p");
		
		Label lblaCh = new Label(shlPhiuChiTin, SWT.NONE);
		lblaCh.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblaCh.setText("\u0110\u1ECBa Ch\u1EC9");
		lblaCh.setBounds(29, 60, 93, 21);
		
		Label lblinThoi = new Label(shlPhiuChiTin, SWT.NONE);
		lblinThoi.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblinThoi.setText("\u0110i\u1EC7n Tho\u1EA1i");
		lblinThoi.setBounds(29, 96, 55, 15);
		
		Label lblNgyChi = new Label(shlPhiuChiTin, SWT.NONE);
		lblNgyChi.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblNgyChi.setText("Ng\u00E0y Chi");
		lblNgyChi.setBounds(29, 133, 77, 21);
		
		Label lblLDo = new Label(shlPhiuChiTin, SWT.NONE);
		lblLDo.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblLDo.setText("L\u00ED Do");
		lblLDo.setBounds(29, 170, 55, 21);
		
		Label lblTngTin = new Label(shlPhiuChiTin, SWT.NONE);
		lblTngTin.setFont(SWTResourceManager.getFont("Times New Roman", 12, SWT.NORMAL));
		lblTngTin.setText("T\u1ED5ng Ti\u1EC1n");
		lblTngTin.setBounds(29, 209, 93, 21);
		
		text = new Text(shlPhiuChiTin, SWT.BORDER);
		text.setBounds(174, 26, 176, 21);
		
		text_1 = new Text(shlPhiuChiTin, SWT.BORDER);
		text_1.setBounds(174, 60, 176, 21);
		
		text_2 = new Text(shlPhiuChiTin, SWT.BORDER);
		text_2.setBounds(174, 96, 176, 21);
		
		text_3 = new Text(shlPhiuChiTin, SWT.BORDER);
		text_3.setBounds(174, 170, 176, 21);
		
		text_4 = new Text(shlPhiuChiTin, SWT.BORDER);
		text_4.setBounds(174, 209, 176, 21);
		
		DateTime dateTime = new DateTime(shlPhiuChiTin, SWT.BORDER);
		dateTime.setBounds(174, 133, 80, 24);
		
		Button btnNewButton = new Button(shlPhiuChiTin, SWT.NONE);
		btnNewButton.setBounds(164, 260, 75, 25);
		btnNewButton.setText("X\u00E1c Nh\u1EADn");

	}
}
